package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwPwt;
import com.tjmc.tiomscore.model.TranPtnHwPwtExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwPwtMapper extends TranPtnHwSuperMapper<TranPtnHwPwt> {
    long countByExample(TranPtnHwPwtExample example);

    int deleteByExample(TranPtnHwPwtExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwPwt record);

    int insertSelective(TranPtnHwPwt record);

    List<TranPtnHwPwt> selectByExample(TranPtnHwPwtExample example);

    TranPtnHwPwt selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwPwt record, @Param("example") TranPtnHwPwtExample example);

    int updateByExample(@Param("record") TranPtnHwPwt record, @Param("example") TranPtnHwPwtExample example);

    int updateByPrimaryKeySelective(TranPtnHwPwt record);

    int updateByPrimaryKey(TranPtnHwPwt record);
}